// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   MessageInfo.java

package covertjava.chat;

import java.io.Serializable;

public class MessageInfo
    implements Serializable
{

    public MessageInfo(String hostName, String userName)
    {
        this.hostName = hostName;
        this.userName = userName;
    }

    public String getHostName()
    {
        return hostName;
    }

    public String getUserName()
    {
        return userName;
    }

    public String getDisplayName()
    {
        return getUserName() + " (" + getHostName() + ")";
// *** original logic patched by Alex Kalinovsky to meet new requirements
//        return getHostName();
    }

    static {
        // Log the fact that patch is in effect
        System.out.println("Loaded patched MessageInfo");
    }


    String hostName;
    String userName;
}
